package com.kingzoon.seckill.entity;

import java.util.ArrayList;
import java.util.List;

public class AclRolePermissionExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public AclRolePermissionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andExchangeIdIsNull() {
            addCriterion("EXCHANGE_ID is null");
            return (Criteria) this;
        }

        public Criteria andExchangeIdIsNotNull() {
            addCriterion("EXCHANGE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andExchangeIdEqualTo(String value) {
            addCriterion("EXCHANGE_ID =", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdNotEqualTo(String value) {
            addCriterion("EXCHANGE_ID <>", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdGreaterThan(String value) {
            addCriterion("EXCHANGE_ID >", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdGreaterThanOrEqualTo(String value) {
            addCriterion("EXCHANGE_ID >=", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdLessThan(String value) {
            addCriterion("EXCHANGE_ID <", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdLessThanOrEqualTo(String value) {
            addCriterion("EXCHANGE_ID <=", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdLike(String value) {
            addCriterion("EXCHANGE_ID like", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdNotLike(String value) {
            addCriterion("EXCHANGE_ID not like", value, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdIn(List<String> values) {
            addCriterion("EXCHANGE_ID in", values, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdNotIn(List<String> values) {
            addCriterion("EXCHANGE_ID not in", values, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdBetween(String value1, String value2) {
            addCriterion("EXCHANGE_ID between", value1, value2, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andExchangeIdNotBetween(String value1, String value2) {
            addCriterion("EXCHANGE_ID not between", value1, value2, "exchangeId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdIsNull() {
            addCriterion("DISTRIBUTOR_ID is null");
            return (Criteria) this;
        }

        public Criteria andDistributorIdIsNotNull() {
            addCriterion("DISTRIBUTOR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andDistributorIdEqualTo(String value) {
            addCriterion("DISTRIBUTOR_ID =", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdNotEqualTo(String value) {
            addCriterion("DISTRIBUTOR_ID <>", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdGreaterThan(String value) {
            addCriterion("DISTRIBUTOR_ID >", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdGreaterThanOrEqualTo(String value) {
            addCriterion("DISTRIBUTOR_ID >=", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdLessThan(String value) {
            addCriterion("DISTRIBUTOR_ID <", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdLessThanOrEqualTo(String value) {
            addCriterion("DISTRIBUTOR_ID <=", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdLike(String value) {
            addCriterion("DISTRIBUTOR_ID like", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdNotLike(String value) {
            addCriterion("DISTRIBUTOR_ID not like", value, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdIn(List<String> values) {
            addCriterion("DISTRIBUTOR_ID in", values, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdNotIn(List<String> values) {
            addCriterion("DISTRIBUTOR_ID not in", values, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdBetween(String value1, String value2) {
            addCriterion("DISTRIBUTOR_ID between", value1, value2, "distributorId");
            return (Criteria) this;
        }

        public Criteria andDistributorIdNotBetween(String value1, String value2) {
            addCriterion("DISTRIBUTOR_ID not between", value1, value2, "distributorId");
            return (Criteria) this;
        }

        public Criteria andRoleIdIsNull() {
            addCriterion("ROLE_ID is null");
            return (Criteria) this;
        }

        public Criteria andRoleIdIsNotNull() {
            addCriterion("ROLE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andRoleIdEqualTo(String value) {
            addCriterion("ROLE_ID =", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdNotEqualTo(String value) {
            addCriterion("ROLE_ID <>", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdGreaterThan(String value) {
            addCriterion("ROLE_ID >", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdGreaterThanOrEqualTo(String value) {
            addCriterion("ROLE_ID >=", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdLessThan(String value) {
            addCriterion("ROLE_ID <", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdLessThanOrEqualTo(String value) {
            addCriterion("ROLE_ID <=", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdLike(String value) {
            addCriterion("ROLE_ID like", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdNotLike(String value) {
            addCriterion("ROLE_ID not like", value, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdIn(List<String> values) {
            addCriterion("ROLE_ID in", values, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdNotIn(List<String> values) {
            addCriterion("ROLE_ID not in", values, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdBetween(String value1, String value2) {
            addCriterion("ROLE_ID between", value1, value2, "roleId");
            return (Criteria) this;
        }

        public Criteria andRoleIdNotBetween(String value1, String value2) {
            addCriterion("ROLE_ID not between", value1, value2, "roleId");
            return (Criteria) this;
        }

        public Criteria andPermissionIdIsNull() {
            addCriterion("PERMISSION_ID is null");
            return (Criteria) this;
        }

        public Criteria andPermissionIdIsNotNull() {
            addCriterion("PERMISSION_ID is not null");
            return (Criteria) this;
        }

        public Criteria andPermissionIdEqualTo(String value) {
            addCriterion("PERMISSION_ID =", value, "permissionId");
            return (Criteria) this;
        }

        public Criteria andPermissionIdNotEqualTo(String value) {
            addCriterion("PERMISSION_ID <>", value, "permissionId");
            return (Criteria) this;
        }

        public Criteria andPermissionIdGreaterThan(String value) {
            addCriterion("PERMISSION_ID >", value, "permissionId");
            return (Criteria) this;
        }

        public Criteria andPermissionIdGreaterThanOrEqualTo(String value) {
            addCriterion("PERMISSION_ID >=", value, "permissionId");
            return (Criteria) this;
        }

        public Criteria andPermissionIdLessThan(String value) {
            addCriterion("PERMISSION_ID <", value, "permissionId");
            return (Criteria) this;
        }

        public Criteria andPermissionIdLessThanOrEqualTo(String value) {
            addCriterion("PERMISSION_ID <=", value, "permissionId");
            return (Criteria) this;
        }

        public Criteria andPermissionIdLike(String value) {
            addCriterion("PERMISSION_ID like", value, "permissionId");
            return (Criteria) this;
        }

        public Criteria andPermissionIdNotLike(String value) {
            addCriterion("PERMISSION_ID not like", value, "permissionId");
            return (Criteria) this;
        }

        public Criteria andPermissionIdIn(List<String> values) {
            addCriterion("PERMISSION_ID in", values, "permissionId");
            return (Criteria) this;
        }

        public Criteria andPermissionIdNotIn(List<String> values) {
            addCriterion("PERMISSION_ID not in", values, "permissionId");
            return (Criteria) this;
        }

        public Criteria andPermissionIdBetween(String value1, String value2) {
            addCriterion("PERMISSION_ID between", value1, value2, "permissionId");
            return (Criteria) this;
        }

        public Criteria andPermissionIdNotBetween(String value1, String value2) {
            addCriterion("PERMISSION_ID not between", value1, value2, "permissionId");
            return (Criteria) this;
        }

        public Criteria andRoleNameIsNull() {
            addCriterion("ROLE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andRoleNameIsNotNull() {
            addCriterion("ROLE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andRoleNameEqualTo(String value) {
            addCriterion("ROLE_NAME =", value, "roleName");
            return (Criteria) this;
        }

        public Criteria andRoleNameNotEqualTo(String value) {
            addCriterion("ROLE_NAME <>", value, "roleName");
            return (Criteria) this;
        }

        public Criteria andRoleNameGreaterThan(String value) {
            addCriterion("ROLE_NAME >", value, "roleName");
            return (Criteria) this;
        }

        public Criteria andRoleNameGreaterThanOrEqualTo(String value) {
            addCriterion("ROLE_NAME >=", value, "roleName");
            return (Criteria) this;
        }

        public Criteria andRoleNameLessThan(String value) {
            addCriterion("ROLE_NAME <", value, "roleName");
            return (Criteria) this;
        }

        public Criteria andRoleNameLessThanOrEqualTo(String value) {
            addCriterion("ROLE_NAME <=", value, "roleName");
            return (Criteria) this;
        }

        public Criteria andRoleNameLike(String value) {
            addCriterion("ROLE_NAME like", value, "roleName");
            return (Criteria) this;
        }

        public Criteria andRoleNameNotLike(String value) {
            addCriterion("ROLE_NAME not like", value, "roleName");
            return (Criteria) this;
        }

        public Criteria andRoleNameIn(List<String> values) {
            addCriterion("ROLE_NAME in", values, "roleName");
            return (Criteria) this;
        }

        public Criteria andRoleNameNotIn(List<String> values) {
            addCriterion("ROLE_NAME not in", values, "roleName");
            return (Criteria) this;
        }

        public Criteria andRoleNameBetween(String value1, String value2) {
            addCriterion("ROLE_NAME between", value1, value2, "roleName");
            return (Criteria) this;
        }

        public Criteria andRoleNameNotBetween(String value1, String value2) {
            addCriterion("ROLE_NAME not between", value1, value2, "roleName");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdIsNull() {
            addCriterion("ROLE_GROUP_ID is null");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdIsNotNull() {
            addCriterion("ROLE_GROUP_ID is not null");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdEqualTo(String value) {
            addCriterion("ROLE_GROUP_ID =", value, "roleGroupId");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdNotEqualTo(String value) {
            addCriterion("ROLE_GROUP_ID <>", value, "roleGroupId");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdGreaterThan(String value) {
            addCriterion("ROLE_GROUP_ID >", value, "roleGroupId");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdGreaterThanOrEqualTo(String value) {
            addCriterion("ROLE_GROUP_ID >=", value, "roleGroupId");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdLessThan(String value) {
            addCriterion("ROLE_GROUP_ID <", value, "roleGroupId");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdLessThanOrEqualTo(String value) {
            addCriterion("ROLE_GROUP_ID <=", value, "roleGroupId");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdLike(String value) {
            addCriterion("ROLE_GROUP_ID like", value, "roleGroupId");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdNotLike(String value) {
            addCriterion("ROLE_GROUP_ID not like", value, "roleGroupId");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdIn(List<String> values) {
            addCriterion("ROLE_GROUP_ID in", values, "roleGroupId");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdNotIn(List<String> values) {
            addCriterion("ROLE_GROUP_ID not in", values, "roleGroupId");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdBetween(String value1, String value2) {
            addCriterion("ROLE_GROUP_ID between", value1, value2, "roleGroupId");
            return (Criteria) this;
        }

        public Criteria andRoleGroupIdNotBetween(String value1, String value2) {
            addCriterion("ROLE_GROUP_ID not between", value1, value2, "roleGroupId");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameIsNull() {
            addCriterion("ROLE_GROUP_NAME is null");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameIsNotNull() {
            addCriterion("ROLE_GROUP_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameEqualTo(String value) {
            addCriterion("ROLE_GROUP_NAME =", value, "roleGroupName");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameNotEqualTo(String value) {
            addCriterion("ROLE_GROUP_NAME <>", value, "roleGroupName");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameGreaterThan(String value) {
            addCriterion("ROLE_GROUP_NAME >", value, "roleGroupName");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameGreaterThanOrEqualTo(String value) {
            addCriterion("ROLE_GROUP_NAME >=", value, "roleGroupName");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameLessThan(String value) {
            addCriterion("ROLE_GROUP_NAME <", value, "roleGroupName");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameLessThanOrEqualTo(String value) {
            addCriterion("ROLE_GROUP_NAME <=", value, "roleGroupName");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameLike(String value) {
            addCriterion("ROLE_GROUP_NAME like", value, "roleGroupName");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameNotLike(String value) {
            addCriterion("ROLE_GROUP_NAME not like", value, "roleGroupName");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameIn(List<String> values) {
            addCriterion("ROLE_GROUP_NAME in", values, "roleGroupName");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameNotIn(List<String> values) {
            addCriterion("ROLE_GROUP_NAME not in", values, "roleGroupName");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameBetween(String value1, String value2) {
            addCriterion("ROLE_GROUP_NAME between", value1, value2, "roleGroupName");
            return (Criteria) this;
        }

        public Criteria andRoleGroupNameNotBetween(String value1, String value2) {
            addCriterion("ROLE_GROUP_NAME not between", value1, value2, "roleGroupName");
            return (Criteria) this;
        }

        public Criteria andPermissionNameIsNull() {
            addCriterion("PERMISSION_NAME is null");
            return (Criteria) this;
        }

        public Criteria andPermissionNameIsNotNull() {
            addCriterion("PERMISSION_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andPermissionNameEqualTo(String value) {
            addCriterion("PERMISSION_NAME =", value, "permissionName");
            return (Criteria) this;
        }

        public Criteria andPermissionNameNotEqualTo(String value) {
            addCriterion("PERMISSION_NAME <>", value, "permissionName");
            return (Criteria) this;
        }

        public Criteria andPermissionNameGreaterThan(String value) {
            addCriterion("PERMISSION_NAME >", value, "permissionName");
            return (Criteria) this;
        }

        public Criteria andPermissionNameGreaterThanOrEqualTo(String value) {
            addCriterion("PERMISSION_NAME >=", value, "permissionName");
            return (Criteria) this;
        }

        public Criteria andPermissionNameLessThan(String value) {
            addCriterion("PERMISSION_NAME <", value, "permissionName");
            return (Criteria) this;
        }

        public Criteria andPermissionNameLessThanOrEqualTo(String value) {
            addCriterion("PERMISSION_NAME <=", value, "permissionName");
            return (Criteria) this;
        }

        public Criteria andPermissionNameLike(String value) {
            addCriterion("PERMISSION_NAME like", value, "permissionName");
            return (Criteria) this;
        }

        public Criteria andPermissionNameNotLike(String value) {
            addCriterion("PERMISSION_NAME not like", value, "permissionName");
            return (Criteria) this;
        }

        public Criteria andPermissionNameIn(List<String> values) {
            addCriterion("PERMISSION_NAME in", values, "permissionName");
            return (Criteria) this;
        }

        public Criteria andPermissionNameNotIn(List<String> values) {
            addCriterion("PERMISSION_NAME not in", values, "permissionName");
            return (Criteria) this;
        }

        public Criteria andPermissionNameBetween(String value1, String value2) {
            addCriterion("PERMISSION_NAME between", value1, value2, "permissionName");
            return (Criteria) this;
        }

        public Criteria andPermissionNameNotBetween(String value1, String value2) {
            addCriterion("PERMISSION_NAME not between", value1, value2, "permissionName");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdIsNull() {
            addCriterion("PERMISSION_GROUP_ID is null");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdIsNotNull() {
            addCriterion("PERMISSION_GROUP_ID is not null");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdEqualTo(String value) {
            addCriterion("PERMISSION_GROUP_ID =", value, "permissionGroupId");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdNotEqualTo(String value) {
            addCriterion("PERMISSION_GROUP_ID <>", value, "permissionGroupId");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdGreaterThan(String value) {
            addCriterion("PERMISSION_GROUP_ID >", value, "permissionGroupId");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdGreaterThanOrEqualTo(String value) {
            addCriterion("PERMISSION_GROUP_ID >=", value, "permissionGroupId");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdLessThan(String value) {
            addCriterion("PERMISSION_GROUP_ID <", value, "permissionGroupId");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdLessThanOrEqualTo(String value) {
            addCriterion("PERMISSION_GROUP_ID <=", value, "permissionGroupId");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdLike(String value) {
            addCriterion("PERMISSION_GROUP_ID like", value, "permissionGroupId");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdNotLike(String value) {
            addCriterion("PERMISSION_GROUP_ID not like", value, "permissionGroupId");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdIn(List<String> values) {
            addCriterion("PERMISSION_GROUP_ID in", values, "permissionGroupId");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdNotIn(List<String> values) {
            addCriterion("PERMISSION_GROUP_ID not in", values, "permissionGroupId");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdBetween(String value1, String value2) {
            addCriterion("PERMISSION_GROUP_ID between", value1, value2, "permissionGroupId");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupIdNotBetween(String value1, String value2) {
            addCriterion("PERMISSION_GROUP_ID not between", value1, value2, "permissionGroupId");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameIsNull() {
            addCriterion("PERMISSION_GROUP_NAME is null");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameIsNotNull() {
            addCriterion("PERMISSION_GROUP_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameEqualTo(String value) {
            addCriterion("PERMISSION_GROUP_NAME =", value, "permissionGroupName");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameNotEqualTo(String value) {
            addCriterion("PERMISSION_GROUP_NAME <>", value, "permissionGroupName");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameGreaterThan(String value) {
            addCriterion("PERMISSION_GROUP_NAME >", value, "permissionGroupName");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameGreaterThanOrEqualTo(String value) {
            addCriterion("PERMISSION_GROUP_NAME >=", value, "permissionGroupName");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameLessThan(String value) {
            addCriterion("PERMISSION_GROUP_NAME <", value, "permissionGroupName");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameLessThanOrEqualTo(String value) {
            addCriterion("PERMISSION_GROUP_NAME <=", value, "permissionGroupName");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameLike(String value) {
            addCriterion("PERMISSION_GROUP_NAME like", value, "permissionGroupName");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameNotLike(String value) {
            addCriterion("PERMISSION_GROUP_NAME not like", value, "permissionGroupName");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameIn(List<String> values) {
            addCriterion("PERMISSION_GROUP_NAME in", values, "permissionGroupName");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameNotIn(List<String> values) {
            addCriterion("PERMISSION_GROUP_NAME not in", values, "permissionGroupName");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameBetween(String value1, String value2) {
            addCriterion("PERMISSION_GROUP_NAME between", value1, value2, "permissionGroupName");
            return (Criteria) this;
        }

        public Criteria andPermissionGroupNameNotBetween(String value1, String value2) {
            addCriterion("PERMISSION_GROUP_NAME not between", value1, value2, "permissionGroupName");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}